# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pblind
pkgver=1.0
pkgrel=5
pkgdesc='Little utility to help exploiting blind sql injection vulnerabilities.'
url='http://www.edge-security.com/pblind.php'
groups=('blackarch' 'blackarch-exploitation' 'blackarch-webapp')
license=('GPL')
depends=('python2')
arch=('any')
makedepends=('unrar')
source=("http://www.edge-security.com/soft/$pkgname-$pkgver.rar")
sha512sums=('da2aebfce85a44dea9adfda68c2dcc616c75006e835ae81df0a9211e1156993bdc964e78148d5fa8d33031ad365b1356bff7e59d7208896c0d471ac6e1bb303f')

prepare() {
  sed -ie '1 s|^|#!/usr/bin/env python2\n\n|' "$pkgname.py"
}

package() {
  install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
}

